<?php 
	require_once('../../php/mysql.php');
	$name = $_GET['name'];
	$sql = "SELECT * FROM cake WHERE name = '$name'";
	$result = mysqli_query($conn,$sql);
	$data = [];
	while($row = mysqli_fetch_array($result)){
		array_push($data, $row);
	}
 ?>

 <!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <script src="../../js/jquery-3.1.1.js"></script>
    <link rel="stylesheet" href="../../css/jinse.css"/>
    <link rel="stylesheet" href="../../css/header.css"/>
    <link rel="stylesheet" href="../../css/footer.css"/>
    <title>fuyun</title>
</head>
<body>
    <?php include '../order/header.php' ?>

    <div class="location">你的当前位置： 首页 > 定制蛋糕 > 精致甜点 </div>

    <div class="middle">
        <div class="middle_left">
            <div class="ding1">
                <a href="">定制蛋糕</a>
            </div>
            <div class="ding2">
                <a href="">女士定制蛋糕</a>
            </div>
            <div class="ding2">
                <a href="">男士定制蛋糕</a>
            </div>
            <div class="ding2">
                <a href="">儿童定制蛋糕</a>
            </div>
            <div class="ding2">
                <a href="">长辈定制蛋糕</a>
            </div>
            <div class="ding1">
                <a href="">茶歇饮品桌</a>
            </div>
            <div class="ding2">
                <a href="">生日甜品桌</a>
            </div>
            <div class="ding2">
                <a href="">婚礼甜品桌</a>
            </div>
            <div class="ding1">
                <a href="">精致下午茶</a>
            </div>
            <div class="ding2">
                <a href="">精致甜点</a>
            </div>
            <div class="ding2">
                <a href="">特色饮品</a>
            </div>
            <div class="ding1">
                <a href="">派对时刻</a>
            </div>
            <div class="ding2">
                <a href="">生日帽</a>
            </div>
            <div class="ding2">
                <a href="">蜡烛</a>
            </div>
            <div class="ding2">
                <a href="">餐盘</a>
            </div>
            <div class="ding2">
                <a href="">装饰品</a>
            </div>
            <div class="ding2">
                <a href="">优惠套装</a>
            </div>
        </div><!--middle_left-->
        <div class="middle_right">
            <table width="789" cellpadding="0" cellspacing="0" border="0">
                <tbody>
                <tr>
                    <td width="394" align="center" valign="top">
                        <div class="tupian1">
                            <img  class="super2"  height="200" width="300"
                                  src="<?php echo $data[0][1] ?>" alt=""/>
                                   <!-- 需要数据 -->
                        </div>
                    </td>
                    <td width="10">&nbsp;</td>
                    <td width="385" align="center" valign="top">
                        <div class="xx">
                           <!-- 需要数据 -->
                           <?php echo $data[0][2] ?>
                        </div>
                        <div class="xc">
                            芙拉维亚隆重推出下午茶系列之浮云卷，由独特的浮云卷配方搭配进口口动物奶油，
                            真正品尝到入口即化的美妙滋味，有草莓、芒果、抹茶、巧克力、彩虹等多种口味可选！
                        </div>
                        <form action="" id="form11" method="post" name="form11" class="cc">
                            <table width="385" border="0" cellspacing="0" cellpadding="0">
                                <tbody>
                                <tr>
                                    <td width="56" height="35" align="center">
                                        <input name="psize" type="radio" value="6" checked="checked">
                                    </td>
                                    <td width="329" align="left">
                                        <div class="ya">
                                             	<!-- 需要数据 -->
                                             	<?php echo $data[0][3] ?>
                                        </div>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <table width="385" border="0" cellspacing="0" cellpadding="0"
                                   style="border-bottom:1px solid #CC176E;
                                                                            border-top:1px solid #CC176E;">
                                <tbody>
                                <tr>
                                    <td width="58" height="40" align="center">
                                        数量：
                                    </td>
                                    <td width="327" align="left" valign="middle">
                                        <input name="num" type="text" id="num"
                                               style="width:38px;border:1px solid #cccccc" value="1">
                                    </td>
                                </tr>
                                </tbody></table>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody>
                                <tr>
                                    <td width="15%" height="80">&nbsp;</td>
                                    <td width="85%" align="left">
                                        <a href="">
                                            <input type="image" name="filed" src="../../images/order/buy.jpg">
                                        </a>
                                        <input name="id" type="hidden" id="id" value="756">
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </form>
                    </td>
                </tr>
                </tbody>
            </table>
            <div style="margin-top: 10px">
                <table width="789" cellpadding="0" cellspacing="0" border="0">
                    <tbody>
                    <tr>
                        <td class="jieshao" width="125" height="35" align="center" valign="middle">
                            蛋糕介绍
                        </td>
                        <td width="664" style="border-bottom:1px solid #FEA8BE">&nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <div class="xiuchu">
                                <p>
                                    <img src="../../images/teatime/xiang4.jpg" alt=""/>
                                    <img src="../../images/teatime/fuyun5.jpg" alt=""/>
                                    <img src="../../images/teatime/xiang6.jpg" alt=""/>
                                    <img src="../../images/teatime/xiang7.jpg" alt=""/>
                                    <img src="../../images/teatime/xiang8.jpg" alt=""/>
                                    <img src="../../images/teatime/xiang9.jpg" alt=""/>
                                    <img src="../../images/teatime/xiang10.jpg" alt=""/>
                                </p>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div><!--middle_right-->
    </div><!--middle-->

    <div class="box" id="box2" style="top: 250px;position:fixed; visibility: visible; right: 5px;">
        <a href="" target="_blank">
            <img src="../../images/join/qq.jpg">
        </a>
    </div>

    <div class="footer"></div>
    <script>
        $('.footer').load('../order/footer.html');
    </script>

</body>
</html>